package com.taimi.newdemo.repository;

import java.util.Optional;

import com.taimi.newdemo.entity.UserEntity;

import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<UserEntity,String> {
    Optional<UserEntity> findByUsername(String username);
}
